class UtilityController < ApplicationController
  before_filter :require_no_user, :only => [:check_email]

  def check_email
    @user = User.find_by_email(params[:user][:email])

    respond_to do |format|
      format.json { render :json => @user ? "false" : "true" }
    end
  end
end
